<template>
  <div id="app">
    <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>
    </div>
    <router-view/>
    <van-button type="primary">主要按钮</van-button>
<van-button type="info">信息按钮</van-button>
<van-button type="default">默认按钮</van-button>
<van-button type="warning">警告按钮</van-button>
<van-button type="danger">危险按钮</van-button>

<div class="tab">
			<div :class="{'item':true,'active':active==0?true:false}" @click="active=0">男士腕表</div>
			<div :class="{'item':true,'active':active==1?true:false}" @click="active=1">女士腕表</div>
		</div>
    <man-clock v-if="active==0"></man-clock>
		<woman-clock v-if="active==1"></woman-clock>

  </div>
</template>
<script>
import woman_clock from '@components/woman_clock'
import man_clock from '@components/man_clock'
export default {
  name: 'APP',
 components: {
  
 },
 data() {
			return {
				active: 0,
				swiperList: [{
						id: '001',
						imgUrl: require('../assets/images/lunbo1.jpg')
					},
					{
						id: '002',
						imgUrl: require('../assets/images/lunbo2.jpg')
					},
					{
						id: '003',
						imgUrl: require('../assets/images/lunbo3.jpg')
					},
					{
						id: '004',
						imgUrl: require('../assets/images/lunbo4.jpg')
					}
				],
				iconList: [],
				recommendList: [],
				weekendList: []
			};
		},
 
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}


</style>
